package com.igrowing.example.provider;

import com.igrowing.easyRpc.registry.LocalRegistry;
import com.igrowing.easyRpc.server.http.VertxHttpServer;
import com.igrowing.example.common.service.UserService;

public class EasyProviderExample {

    public static void main(String[] args) {


        //注册服务
        LocalRegistry.registry(UserService.class.getName(),UserServiceImpl.class);
        // 启动Web服务
        VertxHttpServer httpServer = new VertxHttpServer();
        httpServer.doStart(8080);
    }

}
